package com.example.gradle_test_css.repository;

import com.evn.base.repository.BaseRepository;
import com.example.gradle_test_css.Entity.datainfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface datainfoRepository extends BaseRepository<datainfo,String> {
    @Query(value = "SELECT * FROM datainfo" ,nativeQuery = true)
    List<datainfo> findAll();
}
